<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewBankovyUcetTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewBankovyUcetLabel_id}"/>
                    <h:outputText value="#{bankovyUcetController.selected.id}" title="#{bundle.ViewBankovyUcetTitle_id}"/>
                    <h:outputText value="#{bundle.ViewBankovyUcetLabel_nazov}"/>
                    <h:outputText value="#{bankovyUcetController.selected.nazov}" title="#{bundle.ViewBankovyUcetTitle_nazov}"/>
                    <h:outputText value="#{bundle.ViewBankovyUcetLabel_predcislieUctu}"/>
                    <h:outputText value="#{bankovyUcetController.selected.predcislieUctu}" title="#{bundle.ViewBankovyUcetTitle_predcislieUctu}"/>
                    <h:outputText value="#{bundle.ViewBankovyUcetLabel_cisloUctu}"/>
                    <h:outputText value="#{bankovyUcetController.selected.cisloUctu}" title="#{bundle.ViewBankovyUcetTitle_cisloUctu}"/>
                    <h:outputText value="#{bundle.ViewBankovyUcetLabel_kodBanky}"/>
                    <h:outputText value="#{bankovyUcetController.selected.kodBanky}" title="#{bundle.ViewBankovyUcetTitle_kodBanky}"/>
                    <h:outputText value="#{bundle.ViewBankovyUcetLabel_ibanKod}"/>
                    <h:outputText value="#{bankovyUcetController.selected.ibanKod}" title="#{bundle.ViewBankovyUcetTitle_ibanKod}"/>
                    <h:outputText value="#{bundle.ViewBankovyUcetLabel_swiftKod}"/>
                    <h:outputText value="#{bankovyUcetController.selected.swiftKod}" title="#{bundle.ViewBankovyUcetTitle_swiftKod}"/>
                    <h:outputText value="#{bundle.ViewBankovyUcetLabel_nazovBanky}"/>
                    <h:outputText value="#{bankovyUcetController.selected.nazovBanky}" title="#{bundle.ViewBankovyUcetTitle_nazovBanky}"/>
                    <h:outputText value="#{bundle.ViewBankovyUcetLabel_odberatel}"/>
                    <h:outputText value="#{bankovyUcetController.selected.odberatel}" title="#{bundle.ViewBankovyUcetTitle_odberatel}"/>
                    <h:outputText value="#{bundle.ViewBankovyUcetLabel_dodavatel}"/>
                    <h:outputText value="#{bankovyUcetController.selected.dodavatel}" title="#{bundle.ViewBankovyUcetTitle_dodavatel}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{bankovyUcetController.destroyAndView}" value="#{bundle.ViewBankovyUcetDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewBankovyUcetEditLink}"/>
                <br />
                <h:commandLink action="#{bankovyUcetController.prepareCreate}" value="#{bundle.ViewBankovyUcetCreateLink}" />
                <br />
                <h:commandLink action="#{bankovyUcetController.prepareList}" value="#{bundle.ViewBankovyUcetShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewBankovyUcetIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
